this functions takes covariate data and a cohort/population and remaps the covariate and row ids, restricts to pop and saves/creates mapping
MapIds(covariateData, cohort = NULL, mapping = NULL)
a covariateData object
if specified rowIds restricted to the ones in cohort
A pre defined mapping to use