modified nodeid parser to know about namespaces