Issues in the formal semantics of referentiality