Difference of number types in netcode

Hi, if I be careful selecting what number type I use, such as byte vs short vs int, does it acrually matter and improve performance/used network data?

Asking this mainly because client id uses ulong which is obviously way bigger than what we would need. So, I got curious.