Similarly, when married couples were separated for a long period of time, they would break a hairpin in two and each keep one part. If they were to meet again in the future, they would then put the hairpin together again, as a proof of their identity and as a symbol of their reunion.
