Check for duplicated node id when loading a topology.