1. A method for dynamically creating a reference identifier in an electronic document formatted as a data structure, comprising: (a) following hierarchy of said data structure to reach a root of said data structure; (b) traversing the data structure from said root until a target object is encountered; and (c) generating said identifier from a location of said target object in said data structure.