CORE-4173: modified the template import services to accept the special "auto-gen" ID