use dynamically allocated names instead of fixednames in forward.c, keytable.c, nametree.c, and nta.c