Use the numpy codegen target for simple string expressions (e.g. when indexing state variables)