Parse element's id