Add version attribute to AT and IF intermediate formats. Also eliminate redundant use of reversed attribute in AT format.