Set the id of an Element