Add RIDs to preprocess operations.

Preprocess operation steps can use either a constant value or a RID to look up a value.