Where is unique ID stored?

Are you trying to install on a pi-star?
If so these posts might help: