A royal charter issued under King James renamed the city on the Foyle, but the longer version slipped out of everyday use for well over a century before the Troubles turned it into a test of identity.