Allow to select properties in the get_attribute function