new id converter; also use werkzeug's uuid converter

Fixes #50.
^ read this if nothing else.