Replaced eval with algorithmic (safer) method of expression resolution, that mimics standardized Reference resolution mechanism.