textview: use - instead of . as a separator in HTML id and name

Both are allowed in HTML specs but . is not supported every where
(especially it is not well supported in jQuery expressions).