change id, name and cssclass to optional arguments across project