added getUniqueTypeID to Node & added handling of IDs in the factory in case that the name wasn't found