getID() in database returns a long
Not a bug yet, but once people make a database that has more than 2,147,483,647 nodes, getId() casting to an Integer will not longer work. We should prevent that from happening and make sure all getId() calls return a long instead.