Return node IDs referenced by the supplied IDs.
nid=get_nid_by_id(fem)
nid=get_nid_by_id(fem,id)
nid=get_nid_by_id(fem,id,'elem')
GET_NID_BY_ID returns a sorted list of node IDs that make up the connectivity of the IDs supplied. If ID is not supplied, or is empty, all of the entities will be used.
TYPE is an optional string specifying the entity from which to extract the node IDs. Valid options are 'elem' (default) and 'tl'.