ethnonymy (uncountable)
ethnonym + -y, from ethn- (“pertaining to races”) + -onym (“the name of”).