How to Find Currently Used ID