LYFT-14491 use _get_group_id functions to get group id - sharing code between functions