This returns the model's compartments or states.
rxode2 family of objects
is a string indicating the state or compartment that you would like to lookup.
If state is missing, return a character vector of all the states.
If state is a string, return the compartment number of the named state.