The explanation of ideology. Family structures and social systems