Remove invalid characters from option page form element ID's

[ and ] should not be used in ID's