What is it called when a group of people identify themselves based on a distinct culture, belief system, religion, or history?

Arace
Bethnicity
Cnationality
Dclass