Force a new writing system id when duplicating

Duplicating an existing writing system in the UI, then deleting the
duplicate would result in deleting the original writing system since
the duplicate has the same id with a simple Clone based duplication.