Text this: Electronic and optical properties of lead iodide