how do i get my php session id using php code?

i need to how to get the sesionid beacuse i want to find a unique way to identify each visitor to my site

can that be done?