DDGetoptLongParser: Make optionToKey a class method