Researchers have identified a widespread bacteria’s infection method — it will start replicating once it can feel it’s attached to a suitable surface.