How to assign id's to the pages?

There is a site on Yii. All pages are generated from database - respectively have exactly the same structure, except for the content. What is the function ( code ) PHP will allow you to assign each page an ID that in future will make it possible to independently edit the display style via CSS?
Thanks to all concerned.
March 19th 20 at 08:33
1 answer
March 19th 20 at 08:35
numeric id or slug? you can hash the address of the page actually get the etag

Find more questions by tags Yii