Document how to create a hierarchy from a flat table