Maybe you could assign each node to a type? Then you could have the name stored in that.
And i think you have the handles to the nodes confused with the indexes. The indexes are different. If you have a list of nodes
Node1 - index = 0
Node2 - index = 1
Node3 - index = 2
but the handles are different. The indexes are given to the nodes in the order they are listed and if Node2 was deleted the Node3 would have index 1.
And i think you have the handles to the nodes confused with the indexes. The indexes are different. If you have a list of nodes
Node1 - index = 0
Node2 - index = 1
Node3 - index = 2
but the handles are different. The indexes are given to the nodes in the order they are listed and if Node2 was deleted the Node3 would have index 1.