code: function(element, block) {
          var selector = 'data-' + (block || this.keyName);
  
          if (element) {
              selector += '-' + element;
          }
  
          if (this.namespace) {
              selector += '="' + this.namespace + '"';
          }
  
          return '[' + selector + ']';
      }
docs: Generate a valid data attribute selector based on the current component name and namespace.
  
  @param {String} [element]
  @param {String} [block]
  @returns {string}