Fix domainname of entityids