BUG 2353 : Handle binary, bits and instanceidentifier types in NodeIdentifiers

This fix properly serializes and deserializes NodeIdentifier attributes of the types
  - binary (byte[])
  - yanginstanceidentifier
  - bits (set)

Change-Id: I612d40f9730c939be0594496c26370db96ea6449
Signed-off-by: Moiz Raja <moraja@cisco.com>
(cherry picked from commit 2d2f9c82e47c09a09da090e153b084a426e0aa57)
Merge "BUG 2353 : Handle binary, bits and instanceidentifier types in NodeIdentifiers" into stable/helium