Escape reserved words in node IDs

Deals with issue #87