A rough draft of a universal autoversioning helper.