nobsY: return constructed id vector
   * addMarginal: instead of .marginal. being logical, make it contain names of variables being marginalized over