checking object attribute names for duplicates (#3)