I haven't found specific documentation on this so I would like to be absolutely certain that the fields in the softdevice info structure are used how I think they're used.
magic_number: always the same across all Nordic SoftDevices
sd_id: always the same for a particular SoftDevice (e.g. s132 4.0 to 5.0) but not between SoftDevices (e.g. s132 to s130)
firmware_id: actually not sure what this identifies