I've lost kilt pins in the past, especially when running kilted half marathons. Nowadays, once they are attached to the kilt I put a drop of superglue on the fixing mechanism (taking care not to spill any on the kilt) and they'll stay attached to that kilt.