How Solar Flares Are Classified