Star-group identities and groups of units