On the Dynamics of Social Structure