GetInt (object, string attribute name)
Returns an int if the object has that integer attribute, or null if the attribute is set to null or some other non-integer value.
See also HasInt, IsInt and ToInt
NOTE: This a hard-coded function.