created a feature branch for #2650 (support for categorical variables in symb reg) with a first set of changes
work in progress...