Add IDENT criteria to trace. Refactor nick/ident.

The NICK and IDENT trace criteria now use a singular struct:
trace_query_glob_field_domain_t. The prepare and cleanup functions are
identical because they share the same data; the only function that
differs is the exec. The safety-checks of both functions are located in
trace_glob_field_exec.