getNamespacedKeyByItemElseMaterial

Namespaced name of item if it is a custom item, otherwise its Material name.