Add support for 12/16-byte EUI and 16-byte NAA IDs.

MFC after:	1 week

(cherry picked from commit d5290e16a18d379ef6b400f56542bca83caa690f)