Automatically name/number each unit in the editor