functions.m4: Write the netclass ids to the trace output.