Tries to cast the Source to T, throws ClassCastException if it's another type.
the casted Source, null if another type
the id used to look up a layer
the generic type of a Source