The full (aka scoped) name of a sensor is: world_name::model_name::link_name::sensor_name
That string is returned by Sensor::GetScopedName().
So, you could parse the sensor's scoped name for the model_name.