It's certainly a bit inconsistent (and the same for isThisType) and other methods which use id/name in various combinations.  It could certainly be cleaned up.  The actual method parameter names come directly from the java API.