Changing template identifier from name to id