Support for node id attribute variations (e.g. "ID", "Id", etc.)

Resolves #47.