Knights and knaves again on an island

In an island there are 3 inhabitants, one of which is a knight (who always tells the truth) and the other two are Jokers who randomly decide whether to tell truth or lie. The 3 men have the numbers 1, 2 and 3 on their t-shirt. You need to find at least one person who can give you some information, but the problem is that you do not know who is who. You can ask use one question to one of them, which must have a number as an answer, in order to determine the knight. What question will you ask?

I have never dealt with any such type of problem. Obviously the question must be something related to the numbers they have on their t-shirt.

Any help will be appreciated :)

(this is not homework - I wish I were 17, even if I had to bear with tons of homework!! Unfortunately I am 64!)


How about this question:

If you have decided to tell the truth for this question, please answer with the number of the knight, and if you have decided to lie, please answer with the number of one of the jokers.

Truth tellers will respond to the first clause truthfully, giving you the number of the knight, and liars will respond to the second clause falsely, giving you the number of a someone who is not a joker.

As far as I can tell, this is a "legal" question. The question certainly needs to refer to the joker's decision to be truthful; otherwise, the Joker's two possible states would give different answers, meaning you cannot determine the truthfulness of their answer.