Looks up a FlagsValue by name.
the name to look up
a FlagsClass
the FlagsValue with name name, or null if there is no flag with that name
name