I am afraid, I do not fully understand your goal.
In general, you have the option to create a public questionnaire and simply ask for an ID on the first page (using a open-ended text question). You can also check this ID agains a list (using the database for contents) to validate it.
Does that go in the direction, you are considering?