AddDomainKey returns id, and made accessible to caller