Extracting local part of global jids.

As per title.