Trying to resolve proc. inst. ID if it is not provided