Binding identifiers to either arguments or java methods