Depending on what mods and hotkey selections you're using you'll have to lock the ship in order to bring up the XO's dialog box, which will include the recognition manual to properly identify the ship. The flag is usually visible from 3km with a 6x scope, so long as the weather isn't totally fubar. To lock your target, use the spacebar key.
Also, watch the videos