I really wonder why ZOS in source code uses tostring instead of Id64ToString.
PTS v1.6.0, EsoUI\Libraries\Globals\globalapi.lua, lines 223-227:
Lua Code:
-- id64s are stored as lua Number type, and sometimes generate the same hash key for very similar numbers.
-- Use this function to get unique hash key for a given id64.
function zo_getSafeId64Key(id)
return tostring(id)
end