People and organization contacts, as well as client groups, have a client identifier field that you can use to store their client codes. You can find this under the contact’s Basics section (you can find this in their details tab).
You can even search for your contacts or client groups by their identifier number. Just type it into the Global search or the Contacts overview page search.
Client codes are unique and cannot be assigned to multiple contacts.