Sha1 is a cryptographic hash. In this case, it is using the first 5 characters of a hash of the position vector, probably as a unique identifier of something.
I suspect that it is implemented in the engine and is already used in the updater, so re-using it was the most convenient option, requiring no additional code for an acceptable result.