get lab_id from link