Quote namespaced model names for class condition.