Brexit and the Scotland factor