Solidarity, stance, and class identities