This function will add a given Attribute to the specified Collection
object. If an Attribute with the same name already exists in the
Collection, then it will be overwritten by the new Attribute. Else, the
new Attribute will be appended to the existing Attribute set of the
specified Collection.