Function getNodeTypeId

Gets the type identifier of a node

The node to get the type from

The node's type identifier or undefined