get_study_id function

return the study.id from the search results.