Using LINQ to filter a list by a given attribute.