Improved the way local IMC id is calculated for IMCProtocol and fixed
implementation of selective @Consume annotations.