Contract ids are used to identify individuals in the payroll system. One person can have multiple payroll contracts, e.g. if they have multiple jobs or roles in the organization.
In the past, payroll contracts were identified using a combination of the company and employee number. Currently, the ids are in the form ‘companyId-employeeNumber’. You can use this information if you already have it, but it may not be stable in the future.