You don't need to store ID data in a file
Any cell phone can be interrogated for it's unique identifier, along with other criteria - it need not be stored anywhere else.
The fact that so much data is accumulated makes it suspicious. Google has strict limitations on the data it accumulates which makes it more believable that the data is being used for trouble shooting.
Even though Apple has many more communication failures, and probably needs more data, it doesn't excuse them collecting 365 days worth of information.
Reverse triangulation, i.e. mobile location using cell info, is far less accurate than cell data used to locate a handset especially now there is sophisticated software to d the job in real time, it makes the Apple database even more suspicious.
Even though I disagree with Apples lock-down philosophy, I am also against ANY accumulation of user data for any purpose unless it is stipulated clearly, in writing, and with user control of it's transmission.
That is why I do not carry a smartphone and until these aspects are governed I will not buy a smartphone. I use a satellite telephone and I understand the data that can be deduced from my communications and I accept these as a limitation. I can also govern my use of the satellite handset in order to minimise useful data.
People who claim they do not worry about being tracked are naive: the trust in governments and their agencies are minimal these days and likewise with law enforcement so minimising collected data frustrates any attempt at 'framing' someone.
I sued a Canadian police authority and in the process I subpoenaed their 'intelligence' files and spent 4 days dragging through the accumulated data. I was amazed at what inferences they deduced from certain data. At one time I carried a chemical heat conductive paste - the white goo that you see on properly installed semiconductors such as processors - it is poisonous. I also carried a powdered form, that looked like talc. It was intended to pack around high powered semiconductor RF amplifiers to carry away the heat.
According to the police 'intelligence' it surmised that I had it so I could poison an air-conditioning duct work system to poison people. To achieve this would require kilograms of the material whereas I only carried about 300 grams. Had they contacted my employer they could have explained my need to carry this stuff which was clearly labelled along with remedial treatment should exposure occur. Prospective poisoners would not do this, I suspect.
Whenever I renew my passport I remove all visa inserts because where I have been is really my business and few others need know. Having passport legally issued to me by three countries also assists me in maintaining my privacy.