A system for attaching a number of unique identification codes from a set of unique identification codes to a number of objects, comprising a detection unit, a central processing unit and a computer-readable medium that, when executed by the central processing unit, causes the central processing unit to perform a method comprising the following steps:
- attaching the number of unique identification codes from the set of unique identification codes to the number of objects, such that one unique identification code is attached to each object;
- optically detecting a first attached unique identification code and a last attached unique identification code from the set of unique identification codes with a detection unit;
- detecting an item of additional information;
- and
- inferring the attached unique identification codes based on the optically detected first attached unique identification code and the optically detected last attached unique identification code and the detected item of additional information,
- wherein only the first attached unique identification code and the last attached unique identification code from the set of unique identification codes are optically detected by the detection unit.