The same as setIdAttribute(), but for an already retrieved attribute node.
xml.dom/Element.setIdAttributeNode
Element.setIdAttributeNode