Gets the attachment version
The transaction to be checked
The versionIdentifier string, i.e. MultiOutCreation
0 if not existent, or version number
Gets the attachment version