pub fn generate_appearance(tree: &FieldTree, id: FieldId) -> Option<Vec<u8>>
Generate the appropriate appearance stream for any field type.