as discussed, cValueId will be used for categorical variates that has data type 'categorical variable'. Otherwise, use the value