Finished up NodeID class.

* Resolves #404.