In a city known for producing laws both path-breaking and contentious, San Francisco legislators have forcefully stepped into another debate — this time over the potential danger of cellphone use.