Dynamically set HTML id to controller name