Support non-contiguous user ids and different groups per feature.