new id converter; also use werkzeug's uuid converter

Fixes #50.