Environmental advocates uncovered ties from SoCalGas to the California Restaurant Association lawsuit that overturned Berkeley’s ban on natural gas hookups in new buildings, asserting that the private utility improperly used ratepayer money to support the legal firm.