Some optimisation to network messages - replaced use of strings for component/event and field names with ids.