Classification of ideological systems