Uniquely identifying the same camera


I am taking pictures with 45 of the same cameras. I want to be able to separate all the files from each camera so that duplications and mixups don't occur. I wondering if there was a way where I could write some type of script on an SD card either in the camera or on a Raspberry Pi that would attach a unique identifier to the file name or to the file directory so when I upload all cameras everything is sorted out automatically. This way it takes out the human element and I don't have to worry about errors occurring.

I don't want to worry about having to change all the folders overtime I want to transfer images of the camera.

I am doing direct image transfer from the camera to the computer via USB.

do you have a link to the datasheet of the camera?
it might already do so...