The terminal connectors are marked left to right F and D ...but yours is a mess although the wiring looks to be in the correct order. The commutator however looks smeared and you will have to trust yourself to put it back together again. Unless you have some technical literature and the confidence to interpret it, you'd probably be best advised to parcel the whole lot off to someone who knows what they're doing.