add utility to fix legacy id compartment

Changes style from [c] or (c) to _c
Implemented as fix_compartments flag on cobra.io.fix_legacy_id