idk exactly how the signal safety stuff works, however in another app i know if you change your device, you can keep your id but not your safety number and you have to revalidate the new safety number with your contacts (a hash, idk probably sha2/3 or something) to prove it's you (usually a qr code you can scan with the camera).
Switzerland