batch_from_id function

Extract batch name from study ID