The lectern(https://minecraft.gamepedia.com/Java_Edition_mentioned_features#Lectern) was an item that Dinnerbone had in mind that was supposed to be a way to read books, It was later scrapped and was never implemented, even in a snapshot. I think this method of reading wasn't a good idea since you can't read books wherever you want. However, the lectern itself could be used for a different purpose: a much better way to rename items.
The UI would have 2 text boxes, 2 input slots, and an output slot. If you put an item of your choice in one slot and a dye in the other, the color of the item's name will change. The text boxes would be used for editing the name and the lore.
This is far better than the current renaming method with anvils, costing no xp, no repair cost increase, and no durability loss of the block itself. It makes more sense too. Is the anvilling method like carving glyphs into a tool or something? Do we have to carve the letters out to a piece of paper instead of writing on it? Removing the namespace in the anvil interface and adding a proper renaming tool will allow more customizability to items in survival.