Related codes are those codes where similar programming concepts are in use. They are different from alternate codes in the sense that they may not have same purpose and results.
:
Identifiers are names given by user or java library creators to things like variable names, class names, method names, field names, package names etc.