domain_id encapsulation, multi-domain capable, $db->query => dbQuery()