Should professions determine dress code?

In most departmental stores, workers dress up in uniforms so that customers can identify them easily. While growing up I assumed that anyone dressed in a suit was either going to work or a wedding. 
Dress code at the workplace sometimes influences clients' decisions. Net photo.
Dress code at the workplace sometimes influences clients' decisions. Net photo.
Doreen Umutesi