it is DataSource.getID() (BaseClass.getID()) and I've been using it before. Nevertheless I was a bit confused not finding it in the DataSource javadoc.
As you have both, getName() and getID() in current 5.1d server javadocs, it might be good to have both in the client docs as well.
Comment