Attachment of capsular polysaccharide to the cell wall in Streptococcus pneumoniae.