Hit from behind is the rarest of car-bicycle collisions in urban areas. The general rule of thumb is: The danger is in front of you at intersections.
This picture, however, illustrates, a situation where the danger is behind, and the proper choice of lane positioning is not intuitive for many people.
Another general rule of thumb: Your shadow points to danger. I live on the west side of my major destinations now, so mornings and afternoons often look like the picture above — riding into the sun. That means the sun is in the eyes of motorists behind me.
So I should scurry to the extreme right like a good little second-class street user, right?
The proper lane position is down the middle where bicyclists will be garishly silhouetted against the light reflecting off the street.
See how dark the right side is? See how you can be lost in the building shadows?