Fix profile function for table/column names when starting with numeric and/or non-ascii characters.

Fix profile function to allow table/column name which starts with numeric characters (0-9) and/or multi-byte characters. BTW, I'm not sure how other functions need to be dealt with.