I guess they identify the model based on some kind of metadata. This is an implementation detail though, so unless someone from the Databricks team joins the discussion, we can only guess.