Also generate id->name mapping for components and nodes

Useful for debugging and to implement introspection on
targets which does have room for the strings.
Refs #63

Note: requires new NPM dep 'declarec'