1. A method for creating documents in a hierarchy using an electronic device, which performs operations in the method, the method comprising: generating a root number which corresponds to a base level in the hierarchy; assigning document numbers to the documents, wherein the document numbers are generated based at least in part on the root number; assigning directory numbers to directories in the hierarchy, wherein a given directory number is generated based at least in part on a given document number, and wherein a given directory is in a branch that is coupled to the root level; determining paths in the hierarchy corresponding to the document numbers and the directory numbers, wherein a given path includes the base level and zero or more dependent branches; generating content numbers for the documents based at least in part on the corresponding paths through the hierarchy; creating the documents, wherein creating the documents comprises translating a content number for each document to determine content to be placed within the document; and storing, in a memory, the created documents in the directories in the hierarchy.
4. The method of claim 1 , wherein the zero or more dependent branches corresponding to the paths are determined recursively from the root number.