make node_id and crate_num newtypes