On lineageOS 20 it records the exact android build string as the Software for me, so "Android lineage_pdx215-userdebug 13 TQ3A.230901.001 b30079afa2". Which is probably enough to uniquely identify me, and you if you have a less common phone or are on an older or uncommon version.