Implement CPU id getter for native