COBRApy encodes non-alphanumeric characters in reaction and metabolite
IDs as __<decimal-ASCII-code>__ sequences when writing SBML. For
example, ( becomes __40__ and ) becomes __41__. This helper
reverses that encoding so downstream parsing sees the literal
characters.