Attributing causality in the social sciences