Implementation of type setting for nodes in the id_table