[nexx] Add support for shortcuts and relax domain id extraction