I can't seem to find the specific charge, but I'll keep looking (it's possible the rules have indeed changed on that, as before the official stance was that you should be charged with an ebike-level charge, but more commonly, cops would treat it like a motor vehicle infraction).
There's no question, however, that you absolutely do not need to carry identification while riding a bicycle or ebike:
http://www.mto.gov.on.ca/english/dandv/vehicle/emerging/e-bike-faq.shtml#a23
You, of course, must correctly identify yourself.
That said, if you were being charged with a motor vehicle infraction (OP was) you would have to produce ID, BUT he was being charged with improper/nonexistent license, so why would he even bother showing the license. This gets grey and fuzzy, but the bottom line is, riding a bicycle, you don't need to show ID. This means, if you're caught speeding on a bicycle don't show your driver's license.