Update data_collector.rst

Simple change...would have saved me several hours of guessing.
`getName()` should also be enclosed by literals (double backticks). And can you please wrap lines after the first word that crosses the 72nd character? Thanks. :)