Add get name function to person