In any data structure where a node has multiple children, there needs to be a way to disambiguate child nodes with the same value. This is helpful when figuring out the path to the nodes. One approach is to always use a unique identifier when constructing the path for each node in addition to its value.