GC 24100. Whenever the official name of any principal officer is used in any law conferring power or imposing duties or liabilities, it includes deputies.