Create unique keys for the terms in the multiword interface