Add "id", "icon" and "class" options support