Minecraft wiki entry for Before_1.8, associated text: Renaming something with durability costs (Base Value + Prior Work Penalty) + 7 the first time, later renames cost (Base Value + Prior Work Penalty) + 10.