Add hypen and dot as supported chars in names