Returns a path list to all attributes that have with a particular name.

def get_paths_for_attribute(self, attribute_name):
        """
        Returns a path list to all attributes that have with a particular name.
        """
        has_name = lambda name, structure:  name == attribute_name
        return self.find_path(has_name, on_targets=True)