implement the list handling primitives analogous to the implementation of list-diff-applicator -- just again with the additional twist to keep the attribute and child scopes separated.