Renaming Images for downloading

Hi All

We have an app that collects data as well as images, the images are snapshots of documentation needed. When we download the images, they are renamed nicely with the facility, name of the client and the name of the data clerk. We would like to add another field to the naming convention and that is the Identification number. So when downloading the multimedia, it will have all the stated above entities including the Id number that we collect, is there a way to do this?