At first it may seem as if spinning or not is a somewhat random event. But it always has to do with high speed / rpm in combination with strong steering action. I think there is consistency in it.
Once you have reached a high level of GPC racing you will find that spinning is hardly an issue because you don’t really use that driving style anymore. Although the risk is higher at difficulty level 5 compared to level 3 which I am used to.