fix bug in resource.unit_of_quantity reference
(shd have been the unit_of_quantity() method, not an attribute)