My mate was totally all right with my question. He didn't feel offended. But he told me that some people were when he asked them in the past.

I personally think there is nothing wrong at asking about names, how old people are or where are they from. I think you really can't ask more neutral questions and I hardly find them offensive, but I've seen enough to believe my mate.