saves domainidentifier correctly