Add legend file for id mapping

See AT-563