New method for obtaining ID