Bayesian reasoning for qualitative social science