What is missing in those questions is the attitude of the people towards immigrants, foreigners etc. Actually this is a very important criterium. Very often left wing, socialist people have more tolerant views on those groups, unless they are from the other side of the political spectrum of course, that is if they are [national] socialists:)
Depends.
The 'social lefty' types (typically urban, university educated and middle class) are certainly tolerant. Whereas the 'economic lefty' blue collar protectionist working class types see immigrants as cheap labour that steals 'their' jobs.
There's a similar division on the Right. The free market internationalist capitalist right want immigration as it increases the population (customers) and the workforce (especially if they'll work for less). Whereas the more traditional nationalist (often small-town/small business) right are more concerned about protecting existing culture and distrust diversity.
To quote Karl Marx a lot depends on your relationship to your means of production.
If you're well off you don't mind cultural and ethnic diversity. And might see it as colour, novelty, new ideas, gourmet food and affordable house cleaners. You're also rich enough to live in nice suburbs with nice rich people like you (away from the working class).
Whereas if you're unemployed or insecure it's seen as as threat and competition. I'm guessing that the typical racist xenophobe is probably a discontented unemployed (or precariously employed) working class male. Add points if the wife left, took the house and gets child support.