A uniqueness result on crack location in vibrating rods