Added a '_setCurrencyAttribute' method to BaseModel