Stories and social structure