Computes the file path for an entity with the given ID.
The file path where the entity will be stored.
The entity identifier.