use property names when getting attributes from properties