pub fn get_attribute_id(name: &str) -> i16
Get the numerical ID of an attribute with a certain name.
If an invalid name is used, the ID returned is -1
name The name of the attribute.
name
Returns the ID of the attribute.