I think history is a great place to learn from but a lousy place to return to. This decision should be taken for forward-looking positive reasons, but I fear resentment over past evils will get in the way.
If the decision is to separate then Scotland will set off down a path of choices which cannot be determined until then, and the Catalan experience will be useful guidance - though Madrid is going to fight that one tooth and nail and will use Scotland in its battle.
I'd also assume that Westminster will play dirty and will have a plan B, plan C