Cleaned up getStringIdValue

* Fixed name to make sense
* Moved inline comments to JavaDoc