modelize_class: use the new `get_mclass_by_id` to identify class refinement