UPCGMetadata::SetAttributeFromDataProperty

Set an attribute given a property and its value.