GetAttributeNode updated to handle special cases of names and dimnames and reused in both attr builtin and Rf_getAttrib RFF function.