The Role of Social Ideologies in Legitimizing Political Attitudes and Public Policy