support for digits in template names

e.g. if a template is named neo4j-unmanaged-extension the digit should
be treated just like a lower case letter character.