Rename identifiers in detail classes