guess template name based on declared method name