That sounds so creepy, I'd get pissed also if someone would randomly do that. I'm glad that you were vigilant about what that person was doing when he was asking your personal questions. I guess that's the most convenient thing here in the UAE right now, all our phone numbers are linked to the Emirates ID so they can track you.
I hope they'll fix their system and you won't ever experience something like that again.