Do transmission mechanisms or social systems drive cultural dynamics in socially structured populations?