Refactors to remove instance-specific dependency on parameter contexts

- I had an implied dependency on instance-specific data for parameter
  contexts pertaining to QC values. This refactor removes it by using
  logic to infer the origin of the QC