The only requirement, which all legitimate combatants followed, was that they identify themselves as warships of the correct nation before fighting (or, seizing a merchant ship.) it is still done today, in fact - there is a story floating around the interweb of the HMS Illustrious responding to radio challenges in Urdu when on exercises and pretending to be a cruise liner from Pakistan, thus fooling