A New Mobility Samples Encoding Scheme Based on Pairing Functions and Data Analytics