social comparison
The process by which people compare themselves with others when one is uncertain or uneasy about one's attitudes or performance. In so doing one discovers the "proper" labels for oneself.
social comparison is part of the Social Psychology editor test terminology.