def get_model(self, model_name):
        """
        Return the model class for a given model name.

        model_name is case insensitive.