One may be a ground, the only way to know for sure is with an ohm meter, one lead connected to one of the wires, then the other lead momentarily connected to ground, then to the center of the socket, then to the outer socket. You may need to flip the switch while doing this as well. You will then have traced each wire.