A solution of bases extracted from soap will probably end up primarily as a mixture of NaOH and KOH. As Borek mentioned, it's not really possible to tell the difference between different bases, especially in this case since potassium and sodium in solution are so chemically similar to each other. The only way I can think of differentiating between the two analytically is through spectroscopy.