History repeats itself in Brexit