The Instrumental Variable Model with Categorical Instrument, Exposure, and Outcome: Characterization, Partial Identification, and Statistical Inference