Bug 5527 - Re-implement ControllerContext.toInstanceIdentifier() method