It would only make sense to put those along with the cookies. As the intentions of the methods are the same. Cookie = identifier.
> (1) ‘personal data’ means any information relating to an identified or identifiable natural person (‘data subject’); an identifiable natural person is one who can be identified, directly or indirectly, in particular by reference to an identifier such as a name, an identification number, location data, an online identifier or to one or more factors specific to the physical, physiological, genetic, mental, economic, cultural or social identity of that natural person;
GDPR and many of the non-UK privacy laws that preceded it in Europe didn't concentrate on cookies but on the user identification concept, but "cookie law stupid" is a meme by now.