1. A method, comprising: generating, for a hierarchical name set comprising a plurality of hierarchical names produced during hardware descriptor language (HDL) synthesis of a design, a directed graph and a tree using the hierarchical name set, wherein the directed graph and the tree each comprise a plurality of nodes, each of the plurality of hierarchical names includes a respective quantity of tokens, and each of the nodes corresponds to at least one of the respective quantity of tokens; generating a respective hierarchical path identifier for an original name in the hierarchical name set by using the directed graph and the tree, wherein the original name includes a first quantity of tokens, and the respective hierarchical path identifier includes a subset of the first quantity of tokens that includes fewer tokens than the first quantity of tokens; and associating the original name in the hierarchical name set with the respective hierarchical path identifier.