A utility for randomly allocating experimental subjects to groups.