add element id to python ex and mention element optional in gestures doc