Rename unique_nodes to unshared_node_ids to make it's purpose a bit clearer