study_to_association function

Map a study id to an association id