The referendum in UK should be a lesson for other countries facing secessionist movements in how such issues should be dealt with