MapIds function

Map covariate and row Ids so they start from 1