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