Steppers have either 4, 5, 6, or 8 drive wires so if you have one more than any of those numbers it is likely a ground wire. There are other ways to identify the pinout, especially if the motor ...