Extracting local part of global ids.