first part of allowing class renames during generation, in order to prevent namespace collisions