Hello,
I didn't know that... glad you mentioned it. Still you can do the same thing, all you need to do is just cast the number as a string at the getter and set it as text with the setter.
So when you set the key, instead of setting it to the number 1, you set it to the text "1".
When you however do the random code from the example above; it should be like below:
Textname > Set Text = "I'm a " & Professions.Get(str(round(random(1,3)))) & " from the " & Cities.Get(str(round(random(1,3)))) & "."
That bold bit would change the number to text so it would match the key you entered.
Hope that helps.