Text this: A Bayesian model for age at death with cohort effects