Social structure and identity