Added id to annex element in compose_text.