code: function(obj) {
              if (!obj) {
                  return null;
              }
  
              if (typeof obj == 'function') {
                  return obj.prototype.__moduleId__;
              }
  
              if (typeof obj == 'string') {
                  return null;
              }
  
              return obj.__moduleId__;
          }
docs: Gets the module id for the specified object.
  @method getModuleId
  @param {object} obj The object whose module id you wish to determine.
  @return {string} The module id.