Default priority for domain, set priority based on ordered domain ids