hair-like structures used to attach to other bacteria and surfaces