This is indeed the case.
| Name | ID64 | NumBodies | HIP |
| g Carinae | 677396751809 | 3 | 45496 |
| G Carinae | 319798872435 | 12 | 44599 |
These were not the only dupes, FWIW - I highlighted 3 of them I think some pages back.
It poses 2 problems though. First, searching for the name in EDSM regardless of case brings up the same system (though it does highlight it's a duped name and links to other). It is possible to use the EDSM API to search by ID64. I don't know how the magical script pulls data from EDSM and populates the spreadsheet - but if it's using the API to do so, perhaps it would also be worth having an ID64 override column in the spreadsheet to ensure the correct one is pulled? The other problem is... EDSMs data, even when using ID64, is wrong (hence my own script flagging it)

. I will see about contacting Anthor to fix this - I'm just not 100% sure how to explain which bodies belong where without using their names...
My script uses systems.csv from EDDB to update the spreadsheet. (It's more convenient to parse out than the json script from EDSM).
{I also have EDDiscovery as well, but never figured out the sql to query it.)
Both G Carinae and g Carinae are present in the csv file and relate to the correct stars in the game. So no real need to identify them with an ID.
These names are not really duplicated, they just have different cases. Unfortunately the GALMAP only allows uppercase, which wont immediately find the lower case versions unless you scroll through the matches.
This is the data for the g Carinae stars in the EDDB API:
id,edsm_id,name,x,y,z,population,is_populated,government_id,government,allegiance_id,allegiance,security_id,security,primary_economy_id,primary_economy,power,power_state,power_state_id,needs_permit,updated_at,simbad_ref,controlling_minor_faction_id,controlling_minor_faction,reserve_type_id,reserve_type,ed_system_address
8902073,11712635,"g Carinae",481.625,-50.25,62.5625,0,0,176,None,5,None,64,Anarchy,10,None,,,,0,1605809341,,,,,,677396751809
34941550,,"G Carinae",364.625,-116.4375,118.40625,0,0,176,None,5,None,64,Anarchy,10,None,,,,0,1605808872,,,,,,319798872435
However, the name matching in the (magical !) script is also currently case insensitive.
So HIP 44599 currently has an ED name of "g Carinae" in the spreadsheet - which is the wrong one !
And HIP 45496 has a blank ED name.
It is not a problem to change the magic script to be case insensitive, but it will mean that star names entered in the spreadsheet will have to have
exactly the correct case.
Which is not always easy .
I will correct these 2 entries and change the script to be case insensitive. Won't take long.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
As an aside, it would be REALLY useful if EDSM/EDDB could capture the alternate star names shown in the GALMAP.
I don't think this info is written to the journal file, so it would be up to FD to change the log file.