Code cleanup

add Minimum.id()

which is just an accessor for the private member _id.  Use the new
function throughout.  Same for TransitionState