Rename memoized to cached

This fixes a minor annoyance with the naming of the variable containing
the cached size of a message. As a private member variable it should be
prefixed with an _
Merge branch 'nomenclature'