I know some gun shops in AZ are doing this, too, and won't sell to CA residents at all. We had to show NV ID, which was fine. I don't know if AZ law requires it, or if they are playing nanny to "help" CA. Disgusting, either way.
I should clarify that the ID was only looked at, no data was collected.