Factors shaping party systems