pub fn get_format_id(format: &str) -> Result<usize>
Returns the internal ID used to reference the format.