Added a class check when comparing ID's in `GridFieldAddExistingAutocompleter`

Added check for classes when comparing ID's in `GridFieldAddExistingAutocompleter` - if objects are of different type, ID's are going to clash.