invert name<->ancode when necessary for P//