WIP: support idviews in compat tree