Update get_version_id to work with non-numeric versions.

Closes #157