get_study_ids method