Add support for display and ID attributes to VisualEditor

Change-Id: Ie65ff26c9e214f74b0217238a3def2242505d4c2
Merge "Add support for display and ID attributes to VisualEditor"