Automatically assign a version number to your document