Is there a word for the use of a nationality to change the meaning of a noun?

Although I can't locate a technical term for these, the terms nationality idioms and ethnicity idioms appear to be commonly used.