private function getContextForSource( $source, $evaluationResult, $aspect, $log, &$contextRef = null )
	{
		$sourceFact = $this->getSourceFact( $source, $evaluationResult, $aspect, $log );
		if ( ! $sourceFact ) return array();

		// Get the context ref from the source
		$contextRef = FactValues::getContextRef( $sourceFact );

		$context = $this->xbrlInstance->getContext( $contextRef );

		return $context;
	}