Welcome in the forum!
A PSoC contains a unique serial number which can be red out. Refer to Register TRM for your chip.
Nothing hinders you to define a version number and put it into flash
const uint8 VersionMajor = 1; // Version definition
const uint8 VersionMinor = 3 // Version is 1.3
or something similar.
Thannks for the reply Bob,
But I am looking to add a version number in the assembly level so that it can be seen in the properties page of the hex file in Windows.
Something similar to the AssemblyInfo.CS in Visual Studio.
Thanks and Regards,