Pigeonholing
Pigeonholing is a process that attempts to classify disparate entities into a limited number of categories (usually, mutually exclusive ones).
The term usually carries connotations of criticism, implying that the classification scheme referred to inadequately reflects the entities being sorted, or that it is based on stereotypes.