This isn't really how I've been doing it. Name the reference "hacking-howto-memcached" and then just do:

```
:ref:`hacking-howto-memcached`
```

and it picks up the section title.