support getting the base name.