code: function _getChildSettingsControl(parentElement, id) {
                  var settingElements = parentElement.querySelectorAll("." + _Constants.settingsFlyoutClass);
                  var retValue,
                      control;
                  for (var i = 0; i < settingElements.length; i++) {
                      control = settingElements[i].winControl;
                      if (control) {
                          if (control.settingsCommandId === id) {
                              retValue = control;
                              break;
                          }
                          if (settingElements[i].id === id) {
                              retValue = retValue || control;
                          }
                      }
                  }
  
                  return retValue;
              }
docs: Get the settings control by matching the settingsCommandId if no match we'll try to match element id