support getting groups by id