Converts between various cellular serial number formats and calculates check digits.