Omit needless enumerates.
Use a SELECT instead of M_c["idx_to_name"].

No need for idx_to_name or name_to_idx any more outside Crosscat.