code: function(_plural) {
          if(!_plural) return config.name;
          if(_plural) {
            if(config.plural) return config.plural;
            if(config.name) return inflector.pluralize(config.name);
          }
          return null;
        }
docs: @memberof StaticApi#
  
  @description Returns the model API name.
  
  This name should match the one used throughout the API. It's only used by some extended
  functionality, like the default packer.
  
  By default model name is infered from the url, but for nested models and special cases
  it should be manually set by writing the name and plural properties:
  
  ```javascript
  restmod.model().mix{
  $config: {
  name: 'resource',
  plural: 'resourciness' // set only if inflector cant properly gess the name.
  }
  });
  ```
  
  @return {boolean} If true, return plural name
  @return {string} The base url.