If you get a logitech mouse, lose the key and want to pair it with another key, or visa-versa, you can use this link to download a tool to repair non-unifying receivers (no star on the dongle)
If you have a unifying dongle, it can only pair with unifying mice, here is the tool for that situation.