make exports/imports of depth>0 identifiers work correctly