adding template function for base view inferred from view name, and remove template identifier from child views that don't need it