I know I can search a customer based on many things but I was wondering how hard would it be to create a "customer ID" based on phone number?
For example I want to use HESK for a "check in" system of my customers as they come in. Customer A gives me his information and his phone number is 555-555-1234. The system then generates the regular ID for the work order but then it also generates a random number based on that phone number so we'll use "CustA123"
3 months from now Customer A comes back and I ask for phone number. Well based on that 555-555-1234 phone, the system will pull up CustA123 with ALL of his work orders that have been placed under that person.
How would this be done?

Thank you!