Under most state contractor licensing laws, what is the primary purpose of requiring contractors to hold a valid license?