Defensively check for existence of `DOMElement` object before use.
Tweak `FetLifeProfile::getPermalink()` to return named profiles, too.
Not all places have a locality, so defensively check for it before use.