id

Returns the value of element's id content attribute. Can be set to change it.

MDN Reference