Do I need a confirmation number?

No. Guesthouses in Fez are small (usually 3-6 bedrooms) and work more informally than bigger hotels. A confirmation from Fez Riads is all you need.