Gets cost.
Returns the associated cost for this attribute name.
Parameters:
attributeName
Return Value: A value of cost.