ENH: Handle duplicate names: a numeric suffix is appended to duplicates.