Sanitize function name when writing to a single ("unified") log