Envoyer par SMS: Social inheritance can explain the structure of animal social networks