Can you pass params to an arduino sketch?
Every ESP8266 has a unique MAC address. You could that information to distinguish between the different units.

Something like if( mac='00:0a:95:9d:68:16' ){ ... }