Using a law dating back to 1351 is not the way to deal with those who swear allegiance to Islamic State.