lots more hackage on ID table construction and object hierarchy