add id

add id attribute to the main element