Text this: Understanding fundamental mechanisms of photoresist dissolution