Formal and informal social organization: do geography, structural inequality, and other forms of social organization matter?