move storage of ID references from fo/FOInputHandler to fo/FOTreeControl (implemented in apps/Document)