Hierarchical Term Formatter