Implement stockName property on StockModel.
Make generic getter function for properties.