Just put a registry key/value into the registry of ghosted images. Even SysPrep has this feature where you can specify a specific identifying string for the image which can then be read from the registry after the imaging process.
_________________________
There are two types of vessels, submarines and targets.