support get by id when create element by tagname