Add base support for cohorted group configurations

TNL-649
this comment appears to be out of sync, we aren't using local_random() here