Term:

Social identity

Definition:

A person's sense of self based on their membership in social groups, influencing behavior.