support nested ids in NestedForeignKeys