Include ID in strict weak ordering of events.
Revamped query semantics.