Get the phase of operation in which this pending update action is applied. See 3.2.2 upd:applyUpdates,
Semantics, rule 2. However, the spec does rename, and insert as a single phase; we split it so
that rename is phase 0, while insert is phase 1. This ensures that old attributes are renamed
before new attributes are inserted, avoiding spurious conflicts.