Fixes #6633: Smart variables and smart class parameters can not have the...

... same parameter name
The css id's relied on the `f.object.key` being unique. 
When i changed the uniqueness to scoped uniqueness there could two identical keys (one for a smart variable and one for a smart class parameter) and that created a problem when trying to delete one of them. 
I added the `object.id` so the css id would be unique.