Add id() and value_of() functions to tourniquet.js