Foreign id integration