code: private String processSlotScopeValue(String value) {
      SlotScopeDefinition slotScopeDefinition = new SlotScopeDefinition(value, context, logger);
      return slotScopeDefinition.getSlotScopeVariableName();
    }
docs: Process a scoped-slot value.