Implement getKeyName native