resolving by slug functionality in the `resolve()`method of the `BaseModel` added.