Influence of Psychology on Ideology