java: Fix device identifier constant
java: Update documentation about listeners
delphi: Add GetIdentity to TDevice class