Let's say that I have the following list consisting of a set of objects:
people = [("John","Smith"), ("Jane","Doe"), ("Jane","Smith")]
The objects are created via a separate class which has person.getFirstName and person.getLastName defs.
How can I parse the list such that I end up with a separate list of values consisting of
uniqueNames = ["Smith","Doe"]