Write a unique address in EEPROM of each Arduino. Then write your code to fetch that address upon startup.