If you have a way to get actual access to the Objective C code you could ask the user for the device name like this:
NSString *deviceName = [[UIDevice currentDevice] name];
This should return the devices name.
I have no idea how you would get access to the objective c code though. it may be a case of checking how and where the script is and manually modifying the variables using objective c :D. Might actual be quite straight forward.