It's not always as obvious as we'd like, and it would help if everywhere followed the same rules, but of course the English language is well known for being a little eccentric at times :-) Geographers call the word that describes where somebody comes from a DEMONYM (pronounced demo - nim) and we tend to use them quite a lot.