Have a look at the getGUID action in the Community Commons module. This will return the GUID / Id of an object.
I hope this helps.
If you don't want to use GUID and using direct ID in system variable is not possible. You can do one thing create one attribute make it autonumber and achieve your logic. This wont afffect system variable and you get your own customised unique value which behaves same as ID.