While exploring the Gnomish Mines, I found a grey stone. I have reason to believe that this is a loadstone, and as such I want to name it without picking it up. Is this possible at all? And if it is, how is it accomplished?
It is not possible to #name an item that is not in your inventory.
In the case of loadstones, the traditional method is to identify the other three gray stones first and just leave it at that. Failing that, a spare uncurse is a handy way to just be done with it and not have to worry.