Thanks for the reply!
This is not used for CSS. The contents of the bbcode are written into the database and I need to return the unique row id back to the bbcode block. So some posts may have multiple bbcode blocks and I need to be able to identify each of them. There is a button in each block of bbcode that opens up another application using that unique id. I hope that makes sense.
Thanks!