pub fn stem(ty: &TypeDef, key: &str, slug: &str) -> String
The stem of a document: <key>-<slug> for timestamp types, <slug> for slug types.
<key>-<slug>
<slug>