(p) Merge similar case statements
(p) Merge similar case statements

* Some components are parsed the same way as other components
* The statements have been arranged to minimize repeated code
* It also means that we can remove two private functions that we no longer need, keeping function calls down

s0600204/ics-parser