Finished identification order=1|2|3
Note that I still need to do a code clean up (provide some licenses for functions from other people) and to double check order=3. There is also much room for speed and memory improvement, but the code does the job fine for now. I will also provide more information to the merge request soon about the detailed changes for future reference. Sorry for the delay ;-)