Text this: Modeling relatedness and demography in social evolution