In a database driver I once wrote, I took advantage of String objects in how I extended attributes for the purpose of parameterizing queries... it worked pretty well for my use case. That said, other features I was trying to take advantage of got up streamed into a more popular dv driver, so I left it alone.