Multiple Arduinos

There are also electronic components (like DS-2401) which acts as a "silicon serial number".... But it's a much more complicated solution than just hardcoding some id string into your code and sending it to the host computer when asked for.