Ideology and Collective Action