InDesign 2 to CS Script Error

Can anyone tell me why my ID 2 script for pasting as plain text won’t work in InDesign CS?

set myString to the clipboard as string
tell application “InDesign CS”
set mySelection to selection
if (count mySelection) > 0 then
set mySelection to item 1 of mySelection
set «class tcnt» of mySelection to myString
end if
end tell

Please help! Thanks!

Fix the «class tcnt» to a valid CS class. Contents?

Thanks! That worked!