Replace `MR_entityName` with `MR_internalEntityName` to avoid infinite recursion

Most classes declare their own version of `entityName`, so the impact should hopefully be minimal.