I believe the answer is: in-group identification is a source pride and self-esteem.
in-group identification would make most people develop the feeling of being accepted and acknowledge by other members of the group.
This would tend to increase their pride and self-esteem and make them able to develop a sense of belonging.