makeCustomCoderCat function

Make a categorical input custom coder.