Every city and town by ordinance may establish and collect reasonable license fees from all persons riding a bicycle or other similar vehicle within its respective corporate limits, and may enforce the payment thereof by reasonable fines and penalties.