removed custom ID mangling due to switch to SQLAlchemy