Miscellaneous general functions and Show, Eq, and Ord instances for PortID
Concat first and second together with period in between. Eg.
"hello" <.> "world" = "hello.world"
Is field's value a 1 or True (MongoDB use both Int and Bools for truth values). Error if field not in document or field not a Num or Bool.