Make NodeId accept null String identifier

Accept a null String identifier but convert it to empty String.
Encode/decode of enumeration arrays