type 'term entity = attrs * uri * 'term bind (* attrs, name, binder *)
-type 'a uri_generator = (string -> 'a) -> string -> 'a
+type uri_generator = string -> string (* this could be in CPS *)
(* helpers ******************************************************************)