Fix capitalisation inconsistency in Entity file

There appear to be two different declarations of the same variable with different capitalisation. This removes the (wrong?) one. I am not sure if this requires also editing any XML files from which this file is created? or if this edit is enough... (or if this edit is "wrong"?)