what is the need for using function purity in PL/SQL .