Naming identified scrolls only works sometimes?

//ads -- adsterra.com -- native banner
?>
I'm trying to #name
a few of my already identified scrolls in my inventory in case I'm hit by amnesia (by type), however naming fails to work sometimes.
I now have an uncursed scroll of enchant armor named enchant armor
in my inventory (as expected), but an uncursed scroll of identify
and an uncursed scroll of teleportation
seem to resist naming. What am I doing wrong?
nethack version is 3.6.0.
Pictures about "Naming identified scrolls only works sometimes?"



Photoshop NOT WORKING Properly? DO THIS!!
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Justina Ražanauskaitė, Erik Mclean, cottonbro, Mike van Schoonderwalt