Short form of file identifier. A named abbreviation rather than a concept.
Clipped from file identifier, itself from Latin filum (thread, via file) and idem (the same, via id); shortened for compact naming in code.
A short name standing in for file identifier: the same kind of clipping the house uses whenever a name is used often enough to wear down.