Looks up a realm by id.
the id; the default realm when empty or default
default
the realm record, or null
Looks up a realm by id.