allow . in profile names

Allow "." in profile names. This zsh function was originally created by me and added by a workmate I shared it with. Unfortunately he added it without my later addition to allow dots in profile names which I use broadly.