association_to_study function

Map an association id to a study id