Religious typology and the social ideology of the clergy