I am trying to assign consecutive numbers to a numbers field using Field Calculator so that all my 500 features have unique label values, however some features have multiple polygons and therefore have two or more rows in the attribute table. in this case I need those features to have the same numerical value. i have another field with the names of all features that i would like to base this numbering system off of. So, i need a unique label for all unique features starting from 1 to the end.
How should i go about doing this?