Changed unwrap_or to unwrap because we want the program to fail instead of use emptystring if ident can't be unwrapped