Refactored attribute name creation to use Node.applyPrefix(...)