Added ResourceId to PlayerSearchParameters; Extracted CalculateBaseId() to an extension method.