Consolidate ID hierarchy into one, add ability to autogenerate ID hierarchy