A utility function which will get the current string value of a GimpParamSpecChoice property in
this and convert it to the integer ID mapped to this value.
This makes it easy to work with an Enum type locally, within a plug-in code.
| this | |
| property_name |
the name of a |