generate_mc_idents repaire