Very small change: now enumeration values can know their name

For example:

$global.test.State.open.name <-- would return "open"