I believe the answer is: The process of social categorization
The process of social categorization refers to a process where we categorize the people from a certain social with some pre-determined attributes (even though it might not be factual)
Examples of The process of social categorization could include things such as: Asians are better at math, Men are better at science, women are better at arguments, etc.